package cn.shuangbofu.test.core.domain;

/**
 * Created by shuangbofu on 2020/7/22 14:37
 */
public class TaskInfo {
    private String id;
    private String name;
    private TaskType taskType;

    // 优先级
    private int priority;
    // 执行组
    private long executorGroupId;
    // 用户组
    private long userGroupId;
    // 项目组
    private long projectId;
    // 重试次数
    private long retryCount;
    // 重试间隔
    private long retryInterval;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public TaskType getTaskType() {
        return taskType;
    }

    public void setTaskType(TaskType taskType) {
        this.taskType = taskType;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public long getExecutorGroupId() {
        return executorGroupId;
    }

    public void setExecutorGroupId(long executorGroupId) {
        this.executorGroupId = executorGroupId;
    }
}
